/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						       owned_creature_array.h

	$Header: /game/owned_creature_array.h $

	$NoKeywords: $

 ************************************************************************/
#ifndef OWNED_CREATURE_ARRAY_H_INCLUDED
#define OWNED_CREATURE_ARRAY_H_INCLUDED

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "creature_array.h"

class t_owned_creature_array : public t_creature_array
{
public:
	t_owned_creature_array();

	virtual t_adventure_frame*	get_adventure_frame() const;
	virtual t_adventure_map*	get_map() const;
	virtual int					get_owner_number() const;
	void						set_map( t_adventure_map* map );
	void						set_owner( int number );
protected:
	t_adventure_map*	m_adventure_map;
	int					m_owner;
};

inline void t_owned_creature_array::set_owner( int number )
{
	m_owner = number;
}

inline void t_owned_creature_array::set_map( t_adventure_map* map )
{
	m_adventure_map = map;
}

#endif // OWNED_CREATURE_ARRAY_H_INCLUDED